ACFWF\Helpers\Helper_Functions D

Total Complexity 255
Dependencies 19
Dependents 54
Total lines 1,607
Lines of code 730
Logical lines of code 424
Comment lines 683
Methods 63
Properties 1

Methods 63

Method Rating Maintainability Complexity Lines of code
api_sanitize_value()
B
42 18 52
get_price()
A
49 14 26
api_sanitize_query_parameters()
A
50 12 29
prepare_setting_fields_for_api()
A
45 11 42
load_single_coupon_template()
A
48 11 32
compare_condition_values()
A
51 11 29
get_scheduler_date_field_value()
A
64 10 7
get_relative_time()
S
52 6 23
calculate_discount_by_type()
S
55 6 20
convert_utc_offset_to_timezone()
S
57 6 16
sort_cart_items_by_price()
S
56 5 18
is_cart()
S
63 6 8
check_if_valid_save_post_action()
S
66 6 7
is_apply_coupon()
S
64 6 9
is_checkout_fragments()
S
61 5 12
get_site_current_timezone()
S
62 5 11
get_customer_object()
S
55 4 21
get_coupon_orders_processed_count()
S
56 4 18
get_all_coupons_as_options()
S
57 4 17
is_wc_admin_active()
S
64 5 9
format_bogo_trigger_deal_entry()
S
59 4 14
get_all_product_category_terms()
S
59 4 13
get_coupon_order_item_extra_discounts()
S
62 4 11
current_user_authorized()
S
62 4 11
sanitize_discount_value()
S
62 4 11
get_option()
S
73 4 4
get_active_modules()
S
63 4 10
sanitize_condition_array()
S
63 4 10
is_advanced_coupons_screen()
S
64 4 8
_sanitize_custom_url()
S
60 3 14
sanitize_price()
S
62 3 12
get_customer_name()
S
65 3 8
get_customer_email()
S
74 3 4
has_paid_plugin_active()
S
73 3 5
get_order_applied_coupon_item_by_code()
S
64 3 10
decode_html_entities_recursive()
S
67 3 8
is_module()
S
69 3 5
sanitize_condition_select_value()
S
69 3 5
get_cart_item()
S
61 2 14
get_all_coupon_categories_as_options()
S
61 2 13
get_all_products_by_category()
S
57 1 18
api_wc_price()
S
69 2 6
wc_admin_note()
S
69 2 6
sanitize_notice_type()
S
70 2 5
is_plugin_active()
S
70 2 6
get_order_frontend_link()
S
74 2 4
get_contact_support_link()
S
72 2 6
load_template()
S
74 2 4
get_coupon_url_endpoint()
S
74 2 4
is_acfwp_older_than()
S
70 2 6
get_days_since_install()
S
63 2 10
get_coupon_objects_from_order()
S
64 1 11
get_default_datetime_format()
S
77 1 3
get_all_user_roles()
S
77 1 4
get_coupons_created_count()
S
64 1 10
write_debug_log()
S
76 1 3
array_unique_multidimensional()
S
72 1 5
is_plugin_installed()
S
75 1 4
is_plugin_older_than()
S
79 1 3
get_default_allowed_user_roles()
S
71 1 5
format_integer_for_display()
S
78 1 3
check_if_valid_api_request()
S
76 1 4
__construct()
S
76 1 4